package com.xbmzdx.fstj_app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljq
 * @since 2022-03-13
 */
@ToString
@Getter
@Setter
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("usertable")
@ApiModel(value = "Usertable对象", description = "")
public class Usertable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id，主键")
    @TableId(value = "UserID", type = IdType.ID_WORKER_STR)
    private String userID;

    @ApiModelProperty("用户名")
    @TableField("UserName")
    private String userName;

    @ApiModelProperty("用户真实姓名")
    @TableField("RealName")
    private String realName;

    @ApiModelProperty("用户密码")
    @TableField("UserPassword")
    private String userPassword;

    @ApiModelProperty("用户邮箱")
    @TableField("Email")
    private String email;

    @ApiModelProperty("联系电话")
    @TableField("Phone")
    private String phone;

    @ApiModelProperty("用户头像")
    @TableField("UserImage")
    private String userImage;

    @ApiModelProperty("0:未删除。1:已删除")
    @TableField("isdelete")
    @TableLogic
    private Integer isdelete;

    @TableField("version")
    private Integer version;
}
